<script setup>
const onClickLeft = () => history.back();
</script>
<template>
  <van-nav-bar
    :fixed="true"
    :placeholder="true"
    title="订单详情"
    left-arrow
    @click-left="onClickLeft"
  />
  <div>
    <van-form @submit="onSubmit">
      <van-cell-group inset>
        <van-field
          v-model="username"
          name="退款原因"
          label="退款原因"
          placeholder="退款原因"
        />

        <van-field
          v-model="message"
          rows="5"
          autosize
          label="问题描述"
          type="textarea"
          placeholder="请输入问题描述"
        />
        <van-field
          v-model="username"
          name="退款联系人"
          label="退款联系人"
          placeholder="退款联系人"
        />
        <van-field
          v-model="username"
          name="联系方式"
          label="联系方式"
          placeholder="联系方式"
        />
        <div>上传凭证(最多三张)</div>
        <van-uploader v-model="fileList" multiple :max-count="3" />
      </van-cell-group>
      <div style="margin: 16px">
        <van-button round block type="primary" native-type="submit">
          提交
        </van-button>
      </div>
    </van-form>
    <div class="taext">
      提交服务单后，可能与您电话沟通，请保持手机畅通。
      退货处理成功后退款金额将原路返回到您的支付账户中
    </div>
  </div>
</template>



<style  scoped>
.taext {
  padding: 30px;
}
</style>